Skip to content

fix(catalogue): give the osworld2 proxy's start only the time left, up to its last call - #839

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/osworld2-proxy-flake
Dec 4, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/osworld2-proxy-flake

Conversation

@harenome

@harenome harenome commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #837

What

  • _docker rounded the time left to 0.1 s: under 50 ms it refused the call while _ready saw time left, so a late start said "docker inspect was not asked", not "did not answer".
  • It now passes the exact time left.
  • _ready caps its connect and sleep by the time left.

Touches

  • osworld2/proxy.py; one test in test_osworld2_proxy.py.

Verified

  • New test fails on main.
  • Module on one CPU shared with 3 busy loops: 3 of 25 runs failed before, 0 of 20 after.

Risk

  • Undo: revert.

Agents

  • Claude Code, Opus 5.5: code, tests
  • Codex, GPT-6.2-Astra: review

@harenome
harenome marked this pull request as ready for review December 4, 2026 12:18
@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 4, 2026
@harenome
harenome merged commit 44df1ee into ThinkFlowLab:main Dec 4, 2026
4 checks passed
@harenome
harenome deleted the fix/osworld2-proxy-flake branch December 4, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Tests pass, no conflict, no verdict on its latest commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OSWorld2 proxy: a start that runs out of time reports "docker inspect was not asked" instead of "did not answer"

1 participant